<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="./Public/css/Shipping/shipping.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/css/font-awesome-4.4.0/css/font-awesome.min.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/css/ziku/ziku.css"/>
		<!--插件城市联动-->
		<script type="text/javascript" src="./Public/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="./Public/uploadify/jquery.uploadify.min.js"></script>
		<script src="./Public/css/Place/area.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
		$(function(){
			//初始化方法
			area.init('area');
			//修改的时候默认被选中效果
			area.selected('河南','濮阳','范县');
		})
	</script>
	</head>
	<body>
	<!--顶部灰色区开始-->
		<div id="zol">
			<div class="ding">
				<div class="zuo">
					<span class="shouye"><a href="<?php echo U('Index/index')?>">商城首页</a></span>
					<?php if(isset($_SESSION['home_name']) == null){?>
                
						<span class="denglu">Hi~欢迎来到ZOL商城，请<a href="<?php echo U('Denglu/index')?>">登录</a></span>
						<span class="zhuce"><a href="<?php echo U('Zhuce/index')?>">免费注册</a></span>
					<?php }else{?>
						<span class="denglu">Hi~欢迎<a href="<?php echo U('Personal/index')?>" style="color: red; font-size: 14px;"> <?php echo $_SESSION['home_name']?> </a>来到ZOL商城! </span>
						<span class="zhuce"><a href="<?php echo U('Index/dell')?>"> 退出</a></span>
					
               <?php }?>
				</div>
						
				<ul class="you">
					<li><a href="">联系客服</a><i class="fa fa-angle-down "></i></li>
					<li><a href="">商家入驻</a></li>
					<li><a href="">中关村在线</a></li>
					<li><a href=""><i class="fa fa-mobile fa-lg shouji"></i>手机商城</a><i class="fa fa-angle-down "></i></li>
					<li><a href="">帮助中心</a></li>
					<li>|</li>
					<li><a href="">购物车0件</a></li>
					<li class="maijia"><a href="">买家中心</a><i class="fa fa-angle-down "></i></li>
					<li><a href="">我的订单</a></li>	
				</ul>
			</div>		
		</div>		
	<!--顶部灰色区结束-->
	
	
	
	
<div class="tupian">
	<div class="tu_q">
		<a class="tu_l" href=""></a>
		<div class="tu_o">
			<form class="faf" action="">
				<div class="faf_1">
					<input class="kuang" type="text" />
				</div>
				<input class="sous" type="submit" value="搜索" />
			</form>
		</div>
	</div>	
</div>
	
	
	
	
	
<div id="maizhong">
	<div class="mai_1">
		<div class="mai_z">
			<h3 class="h3">
				<a class="h3_a" href="">买家中心</a>
			</h3>
			<ul class="mai_ul">
				<li class="mai_lli">
					<a class="mai_a1" href="<?php echo U('Buyer/index')?>">我买到的商品</a>
				</li>
				<li class="mai_li">
					<a class="mai_span" href="<?php echo U('Shipping/index')?>">收货地址设置</a>
				</li>
				<li class="mai_lli">
					<a class="mai_a1" href="<?php echo U('Personal/index')?>">个人资料设置</a>
				</li>
				<li class="mai_lli">
					<a class="mai_a1" href="<?php echo U('Password/index')?>">密码设置</a>
				</li>
				<!--<li class="mai_lli">
					<a class="mai_a1" href="">我的优惠券</a>
				</li>-->
			</ul>
		</div>

		<div class="mai_y">
			<div class="ding">
			</div>
			<div class="shezhi">
				<div class="shezhi_1">
					<ul class="shezhi_2">
						<li class="li"><a class="shouad" href="<?php echo U('Shipping/index')?>">收货地址设置</a></li>
						<li class="ziliao">
							<a href="<?php echo U('Personal/index')?>">个人资料设置（ZOL个人中心）</a>
						</li>
						<li class="ziliao">
							<a href="<?php echo U('Password/index')?>">密码设置（ZOL个人中心）</a>
						</li>
					</ul>
				<form action="<?php echo U('Shipping/adds')?>" method="post">
					<div class="dizhi">
						<div class="tiaxia">请填写收货地址</div>
						<div class="shouk">
							<div class="shou_11">
								<em>*</em>
								收货人姓名：
							</div>
							<p class="h7">
								<input class="h7_1" type="text" name="rname"/>
							</p>
						</div>
					</div>
					
					<div class="diqu">
						<div class="diqu_1">
							<em>*</em>
							所在地区：
						</div>
						<div class="diqu_2">
							<select name="rrder1" id="area1">
			
							</select>
							<select name="rrder2" id="area2">
								
							</select>
							<select name="rrder3" id="area3">
								
							</select>
						</div>
					</div>
					
					<div class="dizhi">
						<div class="shouk">
							<div class="shou_11">
								<em>*</em>
								街道地址：
							</div>
							<p class="h7">
								<input class="h7_1" type="text" name="rdata"/>
							</p>
						</div>
					</div>
					
					<div class="dizhi">
						<div class="shouk">
							<div class="shou_11">
								<em>*</em>
								邮政编码：
							</div>
							<p class="h7">
								<input class="h7_1" type="text" name="rcode"/>
							</p>
						</div>
					</div>
					
					<div class="dizhi">
						<div class="shouk">
							<div class="shou_11">
								<em>*</em>
								手机号：
							</div>
							<p class="h7">
								<input class="h7_1" type="text" name="rphone"/>
							</p>
						</div>
					</div>
					
					<div class="dizhi">
						<div class="shouk">
							<div class="shou_11">
								<em>*</em>
								电子邮件：
							</div>
							<p class="h7">
								<input class="h7_1" type="text" name="e-mail"/>
							</p>
						</div>
					</div>
					
					<div class="zhemo">
						<div class="zhe_1">
							<input type="hidden" name="rdef" value="0"/>
							<input class="iks" type="checkbox" name="rdef" id="" value="1"/>设置默认
						</div>
					</div>
					
					<div class="kks">
						<input class="kk_t" type="submit" value="提交"/>
						<span>您当前已添加1条地址，还可增加9条。</span>
					</div>
				</form>
					
					<div class="dis">
						<div class="dis_s">
							<div class="dis_s1">
								<ul>
									<li class="dis_ss">收货人</li>
									<li class="dis_ss44">所在地区</li>
									<li class="qqz">街道地址</li>
									<li class="youbian11">邮编</li>
									<li class="dis_ss11">手机号</li>
									<li class="dis_ss222">操作</li>
								</ul>
							</div>
						<?php foreach ($ressModel as $v){?>
							<div class="dada">
								<ul>
									<li class="dada_1" style="border-left: 1px solid #E2E2E2;"><?php echo $v['rname']?></li>
									<li class="dada_133"><p><?php echo $v['rrder']?></p></li>
									<li class="dada_1"><?php echo $v['rdata']?></li>
									<li class="dada_1"><?php echo $v['rcode']?></li>
									<li class="dada_1"><?php echo $v['rphone']?></li>
									<li class="qweq">
										<a href="<?php echo U('rdefs',array('rid'=>$v['rid']))?>">设为默认</a>
										<a href="<?php echo U('edit',array('rid'=>$v['rid']))?>">修改</a>
										<a href="javascript: if(confirm('确定删除吗?')) location.href='<?php echo U('del',array('rid'=>$v['rid']))?>';">删除</a>
									</li>
								</ul>
							</div>
						<?php }?>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
	
	


	
	
	
	

<div id="llds">
	
</div>



					
			
	<!--底部开始-->
		<div id="dibu">
			<div class="dibu">
				<ul>
					<li><i class=" iconfont">&#xe60c;</i><a href="">行货保证</a></li>
					<li><i class=" tu iconfont">&#xe611;</i><a href="">发票保障</a></li>
					<li><i class=" tu iconfont">&#xe608;</i><a href="">24小时发货</a></li>
					<li><i class=" tu iconfont">&#xe612;</i><a href="">顺丰包邮</a></li>
					<li><i class=" tu iconfont">&#xe613;</i><a href="">无忧退换</a></li>
					<li><i class=" tu iconfont">&#xe610;</i><a href="">先行赔付</a></li>
				</ul>
				<div class="zhinan">
					<dl class="gouwu">
						<dt>购物指南</dt>
						<dd>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
						</dd>	
					</dl>
					<dl class="gouwu">
						<dt>购物指南</dt>
						<dd>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
						</dd>	
					</dl>
					<dl class="gouwu">
						<dt>购物指南</dt>
						<dd>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
						</dd>	
					</dl>
					<dl class="gouwu">
						<dt>购物指南</dt>
						<dd>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
						</dd>	
					</dl>
					<dl class="hezuo">
						<dt>商家合作</dt>
						<dd>
							<p>错过天猫？别再错过我们！</p>
							<p>ZOL商城开启全新旅程！</p>
							<a href="">关于入驻></a> 
						</dd>
					</dl>
					<dl class="guanzhu">
						<dt>400-678-0068</dt>
						<dd>
							<p>工作日 9:00 - 18:00</p>
							<a href="">关注新浪微博</a> 
						</dd>
					</dl>
				</div>
			</div>
			<div class="youqing">
				<div class="di">
					<div class="huoban">
						<div>
							<span>合作伙伴:</span>
							<p>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
							</p>
						</div>
						<div class="zaixianl">
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
						</div>
						<div class="guanyul">
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<span class="span">©2015 中关村在线 版权所有. 京ICP备09041801号-182 京ICP证010391号</span>
						</div>
						<div class="xinyu">
							<img src="./Public/css/img/1.jpg"/>
							<img src="./Public/css/img/2.jpg"/>
							<img src="./Public/css/img/3.jpg"/>
						</div>
					</div>				
				</div>
			</div>
		</div>
	<!--底部结束-->					
					
						
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	</body>
</html>
